<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <script>
        axios.get("http://localhost:8080/doAjaxGet").then(function (response) {//response为服务端响应的结果
            console.log(response);
        }).catch(function (error) {
            console.log(error);
        })
    </script>
</body>
</html>